<div id="content">
  <?php echo include_partial('global/viewErrors', array('forms' => array($form), 'global' => !empty ($errorCollector)?$errorCollector->getRawValue():array()));  ?>
  
  <div class="content_inner">
    <form action="" id="frm_name" method="post" enctype="multipart/form-data">
      <?php echo $form['_csrf_token']->render(); ?>
        <h2>Create New Product</h2>
        <caption>&nbsp;</caption>
        <table width="100%" cellpadding="0" cellspacing="0" border="0" id="table1" class="tablesorter">
        <tbody>
            <tr class="row1">
              <td><label>Name <em>*</em></label></td>
              <td><?php echo $form[ProductForm::FIELD_NAME]->render(); ?></td>
            </tr>
            <tr class="row1">
              <td><label>Image <em>*</em></label></td>
              <td><?php echo $form[ProductForm::FIELD_IMAGE]->render(); ?></td>
            </tr>
            <tr class="row2">
              <td><label>Description <em>*</em></label></td>
              <td><?php echo $form[ProductForm::FIELD_DESCRIPTION]->render(); ?></td>
            </tr>
            <tr class="row1">
              <td><label>Status <em>*</em></label></td>
              <td><?php echo $form[ProductForm::FIELD_STATUS]->render(); ?></td>
            </tr>
            <tr class="row2">
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr class="row1">
              <td>&nbsp;</td>
              <td>
                <div class="buttons">
                  <button type="submit" class="positive">Submit</button>
                  <button type="reset" class="positive">Reset</button>
                </div>
              </td>
            </tr>
        </tbody>
      </table>
      
    </form>
  </div>
</div>